﻿using System;

namespace 建造者模式
{
   public class ThinPersonBuilder:Builder
    {

       public ThinPersonBuilder()
       {
           Person=new Person();
       }
        public override void BuildHead()
        {
            Person.Head = "thinhead";
        }

        public override void BuildBody()
        {
            Person.Body = "thinbody";
        }

        public override void BuildArm()
        {
            Person.Arm = "thinarm";
        }

        public override void BuildLeg()
        {
            Person.Leg = "thinleg";
        }

    }
}
